Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
INSTALL_DIR = $(INSTALL) -d -m0755
PROFILE=#-pg
-BASECFLAGS=-Wall -W -g
+BASECFLAGS=-Wall -W -g -Werror
# Make gcc generate dependencies.
BASECFLAGS += -Wp,-MD,.$(@F).d
PROG_DEP = .*.d
return 0;
}
-static struct domain *find_domain(u16 port)
-{
- struct domain *i;
-
- list_for_each_entry(i, &domains, list) {
- if (i->port == port)
- return i;
- }
- return NULL;
-}
-
/* We scan all domains rather than use the information given here. */
void handle_event(int event_fd)
{